package com.gmt.mapper;

import com.gmt.pojo.User;

import java.util.List;

/**
 * @author John.Zhang
 * @version Id: UserMapper, v 0.1 2020/11/12 15:24 ZhiYong Exp $
 */
public interface UserMapper {

    /**
     * query
     * @param user
     * @return
     */
    public List<User> query(User user);

    /**
     * queryById
     * @param id
     * @return
     */
    public User queryById(Integer id);

}
